package org.wisdom.service;

import org.wisdom.entity.Order;
import org.wisdom.request.PostOrderRequest;

import java.io.IOException;
import java.util.List;

public interface OrderService {
    void postOrder(PostOrderRequest postOrderRequest) throws IOException;

    Order getOrder(Long id);

    List<Order> getBuyOrder();

    List<Order> getSellOrder();

    List<Order> getPublicAllOrder();

    List<Order> getPublicBuyOrder();

    List<Order> getPublicSellOrder();
}
